Contents
To export the model to the FMU format:
model.export_fmu(fmu_path)
exports a NeurEco model to FMU (Functional Mock-up Interface).
- fmu_path
string, required, path where to save the fmu file.
- return
int, export_status: 0 if export is successful, other value if not
To export the model to the ONNX format:
model.export_onnx(onnx_file_path, precision="float")
exports a NeurEco Tabular model to a header file.
- onnx_file_path
string, required: path where the onnx file will be saved
- precision
string, optional, default=”float”: possible values: “float” or “double”, precision of the weights in the onnx file.
- return
int, export_status: 0 if export is successful, other value if not
To export the model to the C format (header file):
model.export_c(h_file_path, precision="float")
exports a NeurEco Tabular model to a header file.
- h_file_path
string, required, path where the .h file will be saved.
- precision
string, optional, default=”float”: possible values: “float” or “double”, precision of the weights in the h file.
- return
int, export_status: 0 if export is successful, other value if not
To export the model to the VBA format:
model.export_vba(vba_file_path, precision="float")
exports a NeurEco Tabular model to a VBA file.
- vba_file_path
string, required, path where the vba file will be saved.
- precision
string, optional, default=”float”: possible values: “float” or “double”, precision of the weights in the h file.
- return
int, export_status: 0 if export is successful, other value if not